package com.homelock.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * IOT平台接收到的返回类型
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class IOTResp {

    public static final int SUCCESS = 1;
    public static final int ERROR = 0;

    private int status;// 状态码

    private String msg;// 状态信息

    private String errorCode;

    private Object data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }
}
